The exec command is used to execute a sequence of GrADS commands from a file. If a clear command is encountered, GrADS waits until enter is pressed before clearing and continuing with command processing.
The command is:
exec file-name <arg0 arg1 ... arg9>
where file-name is the name of a file containing GrADS commands.
The variables &0 to &9 may be used within the exec file to be replaced by blank delimited arguments to the exec.